package org.itboys.weixin.entity;

import org.mongodb.morphia.annotations.Entity;

/**
 * 微信自定义菜单 后台管理
 * 
 * @author ChenJunhui
 * 
 */
@Entity(value = "WeixinMenu", noClassnameStored = true)
public class WeixinMenu extends WeixinBaseEntity {

	private static final long serialVersionUID = -1114194417554753702L;

	public static final String TYPE_VIEW = "view";
	public static final String TYPE_CLICK = "click";
	public static final String TYPE_PARENT = "parent";

	private Long parentId;
	private String type;
	private String value;
	private String name;
	private Long weixinId;
	private Integer eventType;// 当type的key的时候 需要触发后台一个什么事件 1:管理一个 weixin_message
								// 其他待定
	private Integer sort;
	private Long wxMsgId;

	private Long childNum;
	private String infoTitle;
	
	
	public String getInfoTitle() {
		return infoTitle;
	}
	public void setInfoTitle(String infoTitle) {
		this.infoTitle = infoTitle;
	}
	public Long getChildNum() {
		return childNum;
	}
	public void setChildNum(Long childNum) {
		this.childNum = childNum;
	}
	public Long get_parentId(){
		return this.parentId;
	}
	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public Long getWxMsgId() {
		return wxMsgId;
	}

	public void setWxMsgId(Long wxMsgId) {
		this.wxMsgId = wxMsgId;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getWeixinId() {
		return weixinId;
	}

	public void setWeixinId(Long weixinId) {
		this.weixinId = weixinId;
	}

	public Integer getEventType() {
		return eventType;
	}

	public void setEventType(Integer eventType) {
		this.eventType = eventType;
	}

}
